kaysik Posted January 28, 2014 Share Posted January 28, 2014 So I'm adding a animal that has hunger and you can feed it. If you don't feed it, it will die. Logic wise that all works perfectly, but it's really hard to know when it needs feeding. So I'd like some custom mouse over text that tells you their hunger value. And that's where I got totally lost. I tried looking at things like "DisplayFoodValues" mod but that works on inventory items that already have mouse over tips and just adds info to the pre-existing tip. I don't have a tip (as far as I can tell) and my efforst to simply add a Hoverer widget to my animal all seemed to have failed (which I get, it's not a gui item so adding gui widgets to it probably isn't designed to work). So any other great ideas? I thought of trying to add a bar (and looked at "FDDYnamicStatusBar" mod, but that seems super complicated. Is there an easy way to just show a custom mouse over string when you hover over a specific inst of a custom prefab? Thanks for any info. Link to comment https://forums.kleientertainment.com/forums/topic/31200-custom-mouse-over-text/ Share on other sites More sharing options...
NikMik Posted January 28, 2014 Share Posted January 28, 2014 Try looking at the prefab for the smallbird. They chirp when hungry, so I'm sure you could look at the prefab and find a way to make your animal also tell you when it's hungry. Link to comment https://forums.kleientertainment.com/forums/topic/31200-custom-mouse-over-text/#findComment-409489 Share on other sites More sharing options...
Malacath Posted January 31, 2014 Share Posted January 31, 2014 I think you can also use the variable inst.name or something like that, I know Heavenfall used it in RPG Items if you want to check. With this you can change the name of an entity in one line and can change a "Cthulhu" to a "Starving Cthulhu" in one line. Link to comment https://forums.kleientertainment.com/forums/topic/31200-custom-mouse-over-text/#findComment-410904 Share on other sites More sharing options...
kaysik Posted January 31, 2014 Author Share Posted January 31, 2014 Thanks - in the end I did get some text working by looking at a few mods (food values and damage numbers) but after all that effort I realised it was actually easier to just use a copy of the players health meter. That looked way better than text too. If anyone else is interested in custom health meter you can lookup the pets mod I'm working on: Steam Workshop: http://steamcommunity.com/sharedfiles/filedetails/?id=222076729Download Page: http://forums.kleientertainment.com/files/file/457-pets/ Link to comment https://forums.kleientertainment.com/forums/topic/31200-custom-mouse-over-text/#findComment-410956 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now